<template>
  <div id="user">
    <el-container>
      <navi />
      <el-container>
        <el-main>
          <div class="main">
            <div class="content">
              <keep-alive><router-view /></keep-alive>
            </div>
          </div>
        </el-main>
      </el-container>
    </el-container>
  </div>
</template>
<script>
import Navi from '@/components/Navi'

export default {
  name: 'User',
  components: {
    navi: Navi,
  }
}
</script>

<style lang="less">
 @import '../styles/color';
 @import '../styles/layout';

 html,
 body,
#user {
  font-family: 'Helvetica Neue', Helvetica, 'PingFang SC', 'Hiragino Sans GB',
    'Microsoft YaHei', '微软雅黑', Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  height: 100%;
  margin: 0;
  padding: 0;
  background: #fcfdfd;

  .el-container {
    height: 100%;
  }
}

.el-main {
  padding: 0 20px 0 20px;
}

.main {
  position: relative;
  height: 100%;
}

.content {
  margin-left: @container-left;
  height: 100%;
}

</style>
